package org.lib.postgresqlhello.record;

import org.apache.ibatis.annotations.Insert;
import org.lib.postgresqlhello.record.shard.DateTableShardStrategy;
import org.lib.postgresqlhello.record.shard.TableShard;

/**
 * CRUDMapper
 * @author ben
 * @date 2021-11-18 23:30:50 CST
 */
@TableShard(tableName = "tb_record", shardStrategy = DateTableShardStrategy.class)
public interface RecordMapper {

	@Insert(value = {"INSERT INTO tb_record(log) VALUES (#{log})"})
	Integer insertLog(String log);
	
}
